import axios from "./axios";
import { getLocalStroage } from "@/utils/localStorage";

export function userLevel() {
  return getLocalStroage("cookie")
    ? axios({
        url: "/user/level?cookie=" + getLocalStroage("cookie"),
      })
    : [];
}

export function userVip() {
  return axios({
    url: "/vip/info",
  });
}
